
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title></title>
        <style type='text/css'>
            <!--
            body {
                background-color: #454343;
                margin-left: 17px;
                margin-top: 0px;
                margin-right: 0px;
                margin-bottom: 0px;
            }
            -->
        </style>


        <script type='text/javascript' src='tabber.js'></script>
        <link rel='stylesheet' href='triumph.css' TYPE='text/css' MEDIA='screen'>


        <script type='text/javascript'>

            /* Optional: Temporarily hide the 'tabber' class so it does not 'flash'
           on the page as plain HTML. After tabber runs, the class is changed
           to 'tabberlive' and it will appear. */

            document.write('<style type='text/css'>.tabber{display:none;}<\/style>');
        </script>



        <style type="text/css">
            <!--
            .style3 {color: #FFFFFF}
            -->
        </style>
    </head>
    <body>
<?php

    $row = $_GET['row'];
    include "CustomerProductDao.php";
    include "CustomerProduct.php";
    include "Datasource.php";

    $tempCustProduct = new CustomerProduct();
    $custProductDao = new CustomerProductDao();
    $conn = new Datasource("localhost","theanykey","root","");

    $tempCustProduct = $custProductDao->getObject($conn, $_POST['postID']);
    $custProductDao->delete($conn, $tempCustProduct);

?>
    <script type="text/javascript">
      window.opener.location=window.opener.location;
      window.close();
    </script>
    </body>
</html>
